package com.system.oauthserver.service.imp;

import com.system.commonutils.pojo.Role;
import com.system.oauthserver.mapper.RoleMapper;
import com.system.oauthserver.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImp implements RoleService {

    @Autowired
    RoleMapper roleMapper;

    @Override
    public List<Role> selectRoleList() {
        List<Role> roles = roleMapper.selectRoleList();
        return roles;
    }
}
